package com.shanzmoo.db.sys.mapper;

import com.shanzmoo.db.sys.entity.SysParamEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统参数表 Mapper 接口
 * </p>
 *
 * @author Gzhao
 * @since 2020-12-15
 */
public interface SysParamMapper extends BaseMapper<SysParamEntity> {

    String getValue(@Param("key") String key);

    void updateValue(@Param("key") String key, @Param("value") String value);
}
